<template>
	<image :src="src || '/static/imgs/default.png'" :mode="mode"></image>
</template>

<script>
	export default {
		name:"myImage",
		props:{
			//className:String,
			src:String,
			mode:{
				type:String,
				default:'aspectFill'
			}
		},
		mounted() {
			
		},
		data() {
			return {
				defaultURL:''
			};
		}
	}
</script>

<style>

</style>